﻿<Page
    x:Class="DemoApp.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:DemoApp"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:graph="using:RayGraphComponent"
    mc:Ignorable="d">

    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition />
        </Grid.RowDefinitions>

        <Grid.ColumnDefinitions>
            <ColumnDefinition />
            <ColumnDefinition />
        </Grid.ColumnDefinitions>

        <graph:LineGraph Grid.Row="0" Grid.Column="0" x:Name="Graph1" Background="{StaticResource ApplicationPageBackgroundThemeBrush}" GuideLineColor="WhiteSmoke"
                         GuideTextColor="WhiteSmoke" GuideTextSize="12" GuideLineThickness="1" 
                         DrawXGuideLines="True" DrawYGuideLines="True" DrawGuideLines="True" Fill="True"
                         />

        <StackPanel Orientation="Vertical"  Grid.Row="0" Grid.Column="1" Margin="20">
            <TextBlock Text="Static Line Chart" Style="{StaticResource HeaderTextStyle}" />
            <TextBlock Text="A regular Line Chart can be created." Style="{StaticResource BasicTextStyle}" Margin="20" />
        </StackPanel>

        <graph:LineGraph Grid.Row="1" Grid.Column="0" x:Name="Graph2" Background="{StaticResource ApplicationPageBackgroundThemeBrush}" GuideLineColor="RosyBrown"
                         GuideTextColor="Red" GuideTextSize="12" GuideLineThickness="1" 
                         DrawXGuideLines="True" DrawYGuideLines="True" DrawGuideLines="True"
                         />

        <StackPanel Orientation="Vertical"  Grid.Row="1" Grid.Column="1" Margin="20">
            <TextBlock Text="Dynamic Line Chart" Style="{StaticResource HeaderTextStyle}" />
            <TextBlock Text="But a Dynamically generated Line Chart aswell!" Style="{StaticResource BasicTextStyle}" Margin="20" />
        </StackPanel>
    </Grid>
</Page>